package org.atfeihu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author wangfeihu
 * @create 2021/9/4 18:28
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_ok(Integer id) {
        return "PaymentFallbackService======>Fallback + paymentInfo_ok o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "PaymentFallbackService======>Fallback + paymentInfo_timeout o(╥﹏╥)o";
    }
}
